package com.distribution.system.service;

import com.alibaba.fastjson2.JSONObject;
import com.distribution.system.domain.dto.ChoosePhoneDTO;
import com.distribution.system.domain.dto.OrderSearchDTO;
import com.distribution.system.domain.dto.PlaceOrderDTO;
import com.distribution.system.domain.dto.SendCodeDTO;
import com.distribution.system.domain.req.ReqResult;
import org.springframework.validation.annotation.Validated;

/**
 * @author dell
 */
public interface PlaceOrderOperationService {

    ReqResult sendVerificationCode(@Validated SendCodeDTO sendCodeDTO);

    ReqResult choosePhone(@Validated ChoosePhoneDTO choosePhoneDTO);

    ReqResult placeOrder(@Validated PlaceOrderDTO placeOrderDto);

    JSONObject orderSearch(@Validated OrderSearchDTO orderSearchDTO);
}
